// mock data - this should come from the server.
var tasks = {
        'jsonT prototype' : {
                done :true,
                color :'green'
        },
        'template generator' : {
                start :'11/21',
                tasks : {
                  'auto translate jsonT prototype' : {
                    tasks : {
                            'iteration' : {
                              done :true
                            },
                            'recurson' : {
                                    tasks : {
                                            'logic' : {
                                                    done :true,
                                                    end :'01/05'
                                            },
                                            'recursion variable exposure' : {
                                                    done :true,
                                                    end :'01/15'
                                            }
                                    },
                                    done :true
                            }
                    }
                  }
                }
        }
};
var rules = {
  'self[*].done' : function(done) {
    return '<input type=checkbox ' + (done ? 'checked="true"' : '') + '/>';
  }
};

var array = ['eat', 'drink', 'live', 'dance'];
var title = "Test/Demo";
var data_array = [{name:'alice', id:1}, {name:'bob', id:2}];
var expression_ops = {value:'foobar', src:'close_sm'};


function Facecard(id){
  return id;
}

var messages = [
  {subject:'hello',
   author: Facecard('jim'),
   time: '1260689760778',
   message:'just checking in',
   media:{ url: '/images/pic.jpg' }},

   {subject:'hello again',
    author: 'villa',
    time: '1260689760900',
    message: 'checking in again'}
];